# name : ANCOVA using PROC MIXED
# key : ancova.mixed.
# contributor: Shuguang Sun
# --
ods output lsmeans=lsm1 diffs=dif1 type3=type31;
proc mixed data=${1:dtin}${5: method=type3 covtest nobound IC;}
class $2;
model ${3:response} = ${2:trt01p} ${4:covariances} / s covb;
lsmeans $2 / ${6:$$(yas-choose-value '("pdiff" "diff=control('')"))};
run;
